﻿<Window x:Class="MDCAdminTool.Controls.AddRegionWin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add Region" Height="170" Width="260" 
    Padding="15"
    WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner">
    <Grid>
      
         <DockPanel Margin="8">
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" HorizontalAlignment="Right" Margin="0,8,0,0">
                <Button Height="23" Width="75" Margin="5,0,5,0" Content="Cancel" Click="Cancel_Click" IsCancel="True" />
               <Button Height="23" Width="75" Margin="5,0,0,0" Content="Save" Click="Save_Click" IsDefault="True" />
            </StackPanel>

            <GroupBox>
               <GroupBox.Header>
                  <StackPanel Orientation="Horizontal">
                     <StaticResource ResourceKey="GetHostConfig16" />
                     <TextBlock Text="Region" Margin="5,0,0,0"/>
                  </StackPanel>
               </GroupBox.Header>
               <Grid x:Name="gridCacheClusterConfigFile">

                  <Grid.ColumnDefinitions>
                     <ColumnDefinition Width="Auto" />
                     <ColumnDefinition Width="Auto" />
                  </Grid.ColumnDefinitions>

                  <Grid.RowDefinitions>
                     <RowDefinition Height="Auto" />
                     <RowDefinition Height="Auto" />
                  </Grid.RowDefinitions>

                  <Label Content="Region Name:" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" />
                  <TextBox Grid.Column="1" Grid.Row="0" Height="23" HorizontalAlignment="Left" Margin="3" Name="tbRegionName"  VerticalAlignment="Center" Width="120" />

                  <Label Content="Eviction On:" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" />
                  <CheckBox Content="" Grid.Column="1" Grid.Row="1" Height="16" HorizontalAlignment="Left" Margin="3" Name="cbEvictionOn" VerticalAlignment="Center" Width="120" />
               </Grid>
            </GroupBox>
            
      </DockPanel>
         
      
   </Grid>
</Window>
